package icu.javacg.storage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.*;

/**
 * 仓库表
 * @TableName warehouse
 */
@TableName(value ="warehouse")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@EqualsAndHashCode
public class Warehouse implements Serializable {
    /**
     * 仓库编号
     */
    @TableId("warehouse_id")
    private Integer warehouseId;

    /**
     * 仓库名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 仓库管理员
     */
    @TableField(value = "manager")
    private String manager;

    /**
     * 最大容量（立方米）
     */
    @TableField(value = "capacity")
    private Integer capacity;

    /**
     * 存储类型
     */
    @TableField(value = "storage_type")
    private String storageType;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}